package org.spring.springboot.app.user.sysuser.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

@ApiModel(description = "用户邮箱")
public class MailSendReqVO {
    @ApiModelProperty(value = "用户账号", hidden = false)
    @NotBlank(message = "用户账号不能为空")
    private String loginId;
    @ApiModelProperty(value = "图片验证码Token", hidden = false)
    @NotBlank(message = "图片验证码Token不能为空")
    private String imageCaptchaToken;
    @ApiModelProperty(value = "图片验证码", hidden = false)
    @Length(min = 4, max = 4, message = "图片验证码为4位")
    private String imageCode;

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId == null ? null : loginId.trim();
    }

    public String getImageCaptchaToken() {
        return imageCaptchaToken;
    }

    public void setImageCaptchaToken(String imageCaptchaToken) {
        this.imageCaptchaToken = imageCaptchaToken == null ? null : imageCaptchaToken.trim();
    }

    public String getImageCode() {
        return imageCode;
    }

    public void setImageCode(String imageCode) {
        this.imageCode = imageCode == null ? null : imageCode.trim();
    }
}
